Optimal. Leaf size=86 \[ -\frac {4 b \sqrt {f} p q \tanh ^{-1}\left (\frac {\sqrt {f} \sqrt {g+h x}}{\sqrt {f g-e h}}\right )}{h \sqrt {f g-e h}}-\frac {2 \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h \sqrt {g+h x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2442, 65, 214,
2495} \begin {gather*} -\frac {2 \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h \sqrt {g+h x}}-\frac {4 b \sqrt {f} p q \tanh ^{-1}\left (\frac {\sqrt {f} \sqrt {g+h x}}{\sqrt {f g-e h}}\right )}{h \sqrt {f g-e h}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 214
Rule 2442
Rule 2495
Rubi steps
\begin {align*} \int \frac {a+b \log \left (c \left (d (e+f x)^p\right )^q\right )}{(g+h x)^{3/2}} \, dx &=\text {Subst}\left (\int \frac {a+b \log \left (c d^q (e+f x)^{p q}\right )}{(g+h x)^{3/2}} \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=-\frac {2 \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h \sqrt {g+h x}}+\text {Subst}\left (\frac {(2 b f p q) \int \frac {1}{(e+f x) \sqrt {g+h x}} \, dx}{h},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=-\frac {2 \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h \sqrt {g+h x}}+\text {Subst}\left (\frac {(4 b f p q) \text {Subst}\left (\int \frac {1}{e-\frac {f g}{h}+\frac {f x^2}{h}} \, dx,x,\sqrt {g+h x}\right )}{h^2},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=-\frac {4 b \sqrt {f} p q \tanh ^{-1}\left (\frac {\sqrt {f} \sqrt {g+h x}}{\sqrt {f g-e h}}\right )}{h \sqrt {f g-e h}}-\frac {2 \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h \sqrt {g+h x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 84, normalized size = 0.98 \begin {gather*} \frac {-\frac {4 b \sqrt {f} p q \tanh ^{-1}\left (\frac {\sqrt {f} \sqrt {g+h x}}{\sqrt {f g-e h}}\right )}{\sqrt {f g-e h}}-\frac {2 \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{\sqrt {g+h x}}}{h} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.19, size = 0, normalized size = 0.00 \[\int \frac {a +b \ln \left (c \left (d \left (f x +e \right )^{p}\right )^{q}\right )}{\left (h x +g \right )^{\frac {3}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.42, size = 250, normalized size = 2.91 \begin {gather*} \left [\frac {2 \, {\left ({\left (b h p q x + b g p q\right )} \sqrt {\frac {f}{f g - h e}} \log \left (\frac {f h x + 2 \, f g - 2 \, {\left (f g - h e\right )} \sqrt {h x + g} \sqrt {\frac {f}{f g - h e}} - h e}{f x + e}\right ) - {\left (b p q \log \left (f x + e\right ) + b q \log \left (d\right ) + b \log \left (c\right ) + a\right )} \sqrt {h x + g}\right )}}{h^{2} x + g h}, -\frac {2 \, {\left (2 \, {\left (b h p q x + b g p q\right )} \sqrt {-\frac {f}{f g - h e}} \arctan \left (-\frac {{\left (f g - h e\right )} \sqrt {h x + g} \sqrt {-\frac {f}{f g - h e}}}{f h x + f g}\right ) + {\left (b p q \log \left (f x + e\right ) + b q \log \left (d\right ) + b \log \left (c\right ) + a\right )} \sqrt {h x + g}\right )}}{h^{2} x + g h}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 10.77, size = 90, normalized size = 1.05 \begin {gather*} \frac {- \frac {2 a}{\sqrt {g + h x}} + 2 b \left (\frac {2 p q \operatorname {atan}{\left (\frac {\sqrt {g + h x}}{\sqrt {\frac {h \left (e - \frac {f g}{h}\right )}{f}}} \right )}}{\sqrt {\frac {h \left (e - \frac {f g}{h}\right )}{f}}} - \frac {\log {\left (c \left (d \left (e - \frac {f g}{h} + \frac {f \left (g + h x\right )}{h}\right )^{p}\right )^{q} \right )}}{\sqrt {g + h x}}\right )}{h} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 6.28, size = 99, normalized size = 1.15 \begin {gather*} \frac {4 \, b f p q \arctan \left (\frac {\sqrt {h x + g} f}{\sqrt {-f^{2} g + f h e}}\right )}{\sqrt {-f^{2} g + f h e} h} - \frac {2 \, {\left (b p q \log \left ({\left (h x + g\right )} f - f g + h e\right ) - b p q \log \left (h\right ) + b q \log \left (d\right ) + b \log \left (c\right ) + a\right )}}{\sqrt {h x + g} h} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+b\,\ln \left (c\,{\left (d\,{\left (e+f\,x\right )}^p\right )}^q\right )}{{\left (g+h\,x\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________